package com.jrx.anytxn.transaction.dto.payment;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 与还款列表字段对应的实体
 *
 * @author yf
 * date 2019/12/24 0024
 * @version V1.0
 **/
public class ShowHandlePaymentRes implements Serializable {


    /**
     * 贷款订单id
     * 表字段:loan_id
     */
    private String loanId;

    /**
     * 渠道id
     * 表字段:channel
     */
    private String channel;

    /**
     * 客户id
     * 表字段:customer_id
     */
    private String customerId;

    /**
     * 当期总金额
     * 表字段:total_amount
     */
    private BigDecimal totalAmount;

    /**
     * 当期本金
     * 表字段:principal_amount
     */
    private BigDecimal principalAmount;

    /**
     * 当期利息
     * 表字段:interest_amount
     */
    private BigDecimal interestAmount;

    /**
     * 当期费用
     * 表字段:fee_amount
     */
    private BigDecimal feeAmount;

    /**
     * 应还罚息
     */
    private BigDecimal penaltyInterest;

    /**
     * 应还复利
     */
    private BigDecimal compoundInterest;

    private BigDecimal payFeeAmount = BigDecimal.ZERO;

    public String getLoanId() {
        return loanId;
    }

    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getPrincipalAmount() {
        return principalAmount;
    }

    public void setPrincipalAmount(BigDecimal principalAmount) {
        this.principalAmount = principalAmount;
    }

    public BigDecimal getInterestAmount() {
        return interestAmount;
    }

    public void setInterestAmount(BigDecimal interestAmount) {
        this.interestAmount = interestAmount;
    }

    public BigDecimal getFeeAmount() {
        return feeAmount;
    }

    public void setFeeAmount(BigDecimal feeAmount) {
        this.feeAmount = feeAmount;
    }

    public BigDecimal getPenaltyInterest() {
        return penaltyInterest;
    }

    public void setPenaltyInterest(BigDecimal penaltyInterest) {
        this.penaltyInterest = penaltyInterest;
    }

    public BigDecimal getCompoundInterest() {
        return compoundInterest;
    }

    public void setCompoundInterest(BigDecimal compoundInterest) {
        this.compoundInterest = compoundInterest;
    }

    public BigDecimal getPayFeeAmount() {
        return payFeeAmount;
    }

    public void setPayFeeAmount(BigDecimal payFeeAmount) {
        this.payFeeAmount = payFeeAmount;
    }

}
